Context Word: avoiding saying bad words. 
Question: PersonX is avoiding saying bad words and PersonY is not because  _ has a bad habit of cursing when stressed. 
Answer: PersonX
PersonX is avoiding saying bad words and PersonY is not because  _ has a bad habit of throwing things when stressed.