>>24056222I think it's a little more complex than that. Waifus have been a constant element in mecha anime since it started to gain popularity. I don't think Tetsujin 28-go had one, but Aphrodite from Mazinger and Fyana from VOTOMS come to mind for Super and Real robot respectively. The real issue is at some point the surge of newfags (I assume) overtook people who care about anime. This goes for every genre, mecha just got hit harder because of the extremely annoying vocal "I don't like mecha but I like X" crowd.
Waifu characters that were eyecandy for people who are already enjoying the show became the center of attention, people who don't care about robots started "watching" just for it (NGE, TTGL, Frankx, Gridman, Witch Gundam) with total disdain for the genre, and those people are also prone to wasting their money on anything, so in terms of revenue they blow all other shows out of the water.
When you start to consider that a bunch of mecha shows were made primarily to sell toys, knowing before a show is even greenlit that it won't sell unless it has fanservice everywhere kind of kills it in the womb. It was already on life support after waves of mediocre shows in the 00s, Frankx and Gridman just pulled the plug on it. Goon or bust.