If my SO ever couldn't maintain an erection around me, I would first check his blood sugar because he's diabetic and if that was fine ask what I was doing wrong. Like you shouldn't be afraid to tell your partner they're doing something you don't like, esp if that includes gaining 50% of your body weight