Probably a hormonal issue Missy. My two male dogs stop eating their food and lose a lot of weight when my female is in her days. He probably understand there’s a female somewhere waiting for him so eating is not his priority. He wants to have a romp.
Try elevating his food bowl as some dogs as the get bigger don’t like a bowl too low when they eat