Cancer affects mental and emotional health by causing stress, anxiety, and fear, challenging one's beliefs and connection to deeper meanings or a higher power.