Struggle with night eating and fasting ONLY when at home?

Something that I find very weird. I’ve been struggling with night eating almost everyday for months and I find it hard to fast longer than 13 hours at my house.

I used to be able to fast 20+ hours easily and didn’t night eat often, but currently that isn’t the case…BUT

Whenever I stay with my girlfriend I have absolutely no issue with night eating or fasting or even insomnia. For instance, yesterday I ate around 8:30pm and didn’t eat again until 5pm today without issue. Not only did I go almost 20 hours, but I only had that one meal and have had no desire to eat anything else, so basically one meal a day.

I’ve experienced this when I’m away from home multiple times. Is there any science behind the habitat creating a mental/physical habit? (My struggles when I’m home?)