Given that religion, especially the Abrahamic faiths(at least for the western and Islamic worlds) were a huge part in getting to the scientifically minded society we have today, I would think it might be an Alien species' way of making us advance ourselves intellectually. Religion is pretty much what forced people to live together peacefully so that science can advance. Go back 100,000 years and humans were still eating each other.
That's a very peculiar definition of rationality... But can't blame you, it's one of those words that modern language successfully tore apart, and most people nowadays equate rationality with logic, creating lots of troubles for themselves in the process.
My pet theory is that an alien species planted religion in humans as a KPI to determine when we’re rational enough to be worth interacting with.