And Sankara had many ideas that were similar to Buddhism, like disdain for rituals, liberation through knowledge, disregard of caste hierarchy, etc.
He was later attacked by rival Vedanta schools for being opposed to rituals as rituals are central to the Vedas.
But he did attack Buddha and Buddhist ideas. The point of conflict was the existence of self.
But he used many strawman arguments, and criticised Buddha for saying things he didn't say. Sankara didn't know and didn't care.
He was a great philosopher, though.
I don't know why, but I find this super cute in a naive way, like something a 5 year old would say. But I guess that was state-of-the-art weather science back then!
(I'm not remotely an expert, but it seems like at least a possibility for an explanation, and it's a interesting and seemingly little-known class of phenomena.)