I don't see where anybody claimed that they had the same tune. They're both here because they're both kids' rounds.
I tried playing them at the same time, and they don't even harmonize particularly well. (On the other hand, "Frère Jacques", "Three Blind Mice", and "Row, Row, Row Your Boat" can all be sung at once.)