That's because they all take place in the same world 😱
In 1996, Nintendo was seemingly very fond of a single particular stock photo of the sky, so that it ended up on the cartridge artwork of three different games released in that year: Super Mario 64, Mario Kart 64, and Pilotwings 64.