In India, Buddhism is not very popular despite the fact that it originated there. Part of the reason is the fact that Hinduism seems to have adapted the story of the Buddha, Siddartha Gautama, into its own lore. Specifically, there is a Hindu belief that the historical Buddha was the ninth avatar of the deity Vishnu, who is said to preserve the universe and protect its balance.
Different reasons are put forward for why Vishnu assumed the form of Buddha within this theory. Some believe Vishnu was promoting the idea of ahimsa (non-violence) in this form, others believe Vishnu wanted to see if people would remain faithful to the Vedic dharma, and there’s a story in the Puranas which suggests that Buddha was born to delude and confuse the enemies of the devas by preaching “false views” and thus weaken them. You could say this was a ploy to convert Buddhists into the Hindu tradition, but you could also say it was a smear campaign against Buddhism (which was viewed as a nastika or heterodox religion) on the part of orthodox Hindu thinkers.
The Puranic interpretation is the one I find odd. Why would the gods, who are supposedly interested in the truth, go out of their way to deliberately deceive humans, let alone demons, for any reason? How’s it any different from how, in Christian tradition, God apparently lets Satan and his demons “mislead” his own creation? In modern Hindu lore, the gods (or devas) chose the path of truth and their enemies (the asuras) supposedly chose falsehood (in reality it’s about Hindu ideas of spirituality versus materialism), and to me it often just seems like a worthless conflict. Think about it: although there are sometimes genuinely evil deeds punished by gods, usually it’s just either the gods trying to maintain hegemony over the world under the guise of preserving righteousness and the balance, or a mere morality tale of Hindu/Brahmanist social and spiritual ideas defeating materialism and godlessness.
This is also why I barely take Hindu mythology seriously or with the level of religious devotion that may or may not be accidentally implied, and merely use or venerate Hindu gods as a pagan (while not actually worshipping them or providing externality to their existence) but not their mythologies, because in Hindu mythology the gods are mainly a vehicle for both a morality tale and a concept of an external god, since they are merely forms of God in Hindu tradition.