Second rhogam shot

Sammy
Hello all. I am 27 weeks along with my second child. I have a question about rhogam doses. I was given a rhogam shot at the e.r when I was 6 weeks along because I thought I was miscarrying, I didnt thank God but now my ob wants to give me a second dosage when I turn 28 weeks (next Monday) and when asked why, I wasnt given a reason. I called and left a message with the nurse and Im waiting on a return call now. Has anyone had this done before and if so why? Thank you in advance.