Sophie Try saying to him ‘Did you enjoy your dinner, then?’
If he says ‘No’ then that is your opportunity to suggest he cooks dinner himself.
If he says ‘yes’ but doesn’t follow it with ‘thank you’, say ‘I’m glad you enjoyed it.’ This may spur him to realise he should be grateful for your efforts.
He may of course add the ‘thank you’ without any further prompting, problem solved.
If he doesn’t answer at all, then you really do have a problem. Administer the silent treatment back at him until he eventually asks you what’s wrong. Then tell him.