I know you weren’t asking me, but I think the humour lies in how Elon would hate this on account of him being bigoted.
It’s not “haha he’s gay” but rather rather that he’s a fool who is too much of a snow flake and anti anything not straight, to not be offended by this. Also to add something about how Melania’s perceived to be treated by Trump, well that’s Elon now.
Sure I’ll indulge you. I think it started with the Putin/Trump mural in 2016. This was a Russian street artist making political commentary. As a response, people made fake images of Trump and Putin kissing. Soon other fake images showed up of world leaders whith unlikely partners which set the kissing theme as a household meme. Shortly after the 2020 elections in the USA, LLM’s were dropped into the world and with them AI image generation. So this joke took a run. Now nobody’s safe from this joke. It’s not just Trump, but it’s happening all over the world. These kissing images and others like it are kind of funny, but many images are nearly indistinguishable from reality and are actively weaponised to cause political havoc. Which is a whole other problem, of course.