At First who was Juliet upset with when recieving the new from the nurse that Tybalt was killed?

Later who was Juliet upset with ?

Correct.

She realizes she owes more allegiance to her new husband than to her kinsman, Tybalt.

Have you read the play? If so, did you understand it?

Here is a website where you can read the play, choosing the acts and scenes you need to go over:
http://nfs.sparknotes.com/romeojuliet
In the left column (when you get into the acts and scenes), you'll find original Shakespearean English; in the right column, you'll find modern-day English.

My answers to the questions were she was mad at Romeo at first but then she became mad at herself for doubting her husband.

To determine who Juliet was upset with upon receiving the news of Tybalt's death, we need to consult William Shakespeare's play, "Romeo and Juliet." In Act III, Scene II, the Nurse delivers the news to Juliet, and at first, Juliet is understandably devastated by the loss of her cousin Tybalt. However, it is important to note that Juliet's feelings evolve throughout the play.

Later on in the play, Juliet becomes upset with multiple characters, although her feelings are mostly directed towards external circumstances rather than specific individuals. Her anger and frustration stem from the fact that her love for Romeo, her husband, conflicts with her loyalty to her family. She also faces pressure from her parents and society's expectations. Ultimately, Juliet's anger can be attributed to the tragic circumstances that arise from the ongoing feud between the Montagues and Capulets, which forces her into increasingly difficult situations.