Context Word: baby. 
Question: PersonX hated children while PersonY really wanted to have a baby, so _ was upset when his girlfriend got pregnant. 
Answer: PersonX
PersonX hated children while PersonY really wanted to have a baby, so _ was ecstatic when his girlfriend got pregnant.