Because Macron knows that showering praise on Trump in one-on-one meetings is how to play him. But this speech was for the French and European people primarily. Foreign relations are like that. Sometimes you have to check your ego and do things you don’t really want to for the better of your country.