Context Word: chemicals. 
Question: PersonX's skin bubbled up when using the product unlike PersonY's because _ was allergic to the chemicals. 
Answer: PersonX
PersonX's skin bubbled up when using the product unlike PersonY's because _ was fine with the chemicals.