Dogs can be picky sometimes, but if he suddenly stopped eating, it could be stress, a food change, or even a health issue. Maybe try an
automatic dog feeder to keep a consistent feeding schedule, sometimes, routine helps. But if he keeps refusing food, a vet check might be a good idea.