Macron is thinking on geopolitical lines and trying to calm things down in France, it isn't something that is pro gaza, it is wanting things in france to cool down.
This isn't the win you think it is, it is because of the 'peaceful protests' to a conflict ~4000 miles away and trying to somewhat calm them down with having gone through multiple terrorist attacks and obvious rise in anti-Semitism.
There is a lot of chatter on french SM of comparison to police involvement to the yellow vest movement and general riots the past couple of years.
This isn't a gotcha, because frankly Hamas and Israel will both ignore frances request, same as they would do the UK and the rest of the world, it is a more a realisation moment of the complexities of a multicultural society and how to address it going forward.