Rh alloimmunization occurs when an Rh-negative mother produces antibodies against Rh-positive blood cells from her fetus, which can lead to hemolytic disease of the fetus and newborn (HDFN).