It's possible that the earliest versions of the song were simple rhymes sung by parents to entertain their children. As it gained popularity, it was likely shared and adapted by different communities and cultures.
So, while we can't say for sure who wrote "The Wheels on the Bus", it's safe to say it's a product of collective creativity and a testament to the power of oral tradition in shaping popular culture.