Fucking rude.
He knows theres a really good chance OP has already cooked - he could have called ahead, he didn't.
He knows theres a strong chance DD will have already eaten - he could have called ahead and checked, he didn't.
He comes home, and without bothering to open his mouth to his wife, he announces to his small child 'we're getting pizza, lets go'...
Small child, knowing she's already had tea, bounces in to Mum, full of herself and announces she IS having pizza, of course she does, thats exciting and Daddy told her so. Fun!
He could have called and asked, he could have called and said 'stick mine in the fridge I really fancy pizza, would you like some?' he could have come in and waited until the child was busy elsewhere and then spoken to OP...
He did none of those things, which would have taken zero real effort and would have been considerate. But instead he chooses to be a dick, set up a child for either disappointment or disagreement with the other parent, and make his wife feel like her thoughts or efforts don't matter.
I'd not cook for him again!