Just like any other immune response the first time mom gets exposed to fetal RBCs she starts making Abs (which takes 5-7 days). Since this exposure usually happens during birth, the first baby is long gone by the time the mom's IgG kicks in. In this way the 1st baby is able to avoid any harm, leaving behind an armada of armed & ready Igs for it's wanna-be sibling 🙂
For the MCATs, it is sufficient to know that the 2nd pregnancy is at risk, however it is not that simple. Other times that the mom can get exposed to fetal RBCs are
a) trauma (car accidents etc),
b) diagnostic procedures (amniocentesis).
This makes giving a Rhogam shot mandatory whenever an Rh(-) mom has these episodes (& the baby's Rh status is unknown)
Rhogam is Anti-Rh Ab which binds to any fetal RBCs. This "masks" the Rh(+) RBCs from mom's immune system so mom never makes her own Abs
Another point is that while this may be the woman's first KNOWN pregnancy she may have had a spontaneous abortion of a Rh(+) fetus (& the only indication may be a heavier than normal period), in which case the FIRST (known) pregnancy is also at risk since the abortion --> mixing of fetal RBCs into mom's circulation and subsequent Ab production.