please help - TMI warning

i’ve been under a ton of stress for the past few weeks. i have not been eating well - when i do eat it’s coffee, pasta, or pizza. It’s been abnormally hot where I am and I have no ac or fan in my apartment and it’s on the side that the sun beats into for the afternoon and evening. the last few mornings i’ve woken up sweating and I have diarrhea and feel nauseas. when i leave my apartment for the day i don’t experience any more diarrhea and the nausea subsided substantially. would this mix be enough to be causing these bowel movements in the morning? any suggestions to treat?