You say in a comment to another answer that the camera used could not have been a pre-loaded disposable compact. But that is how the film was loaded in more than a few varieties of them. The film was transported through them 'upside down' from left to right and the lightproof cassette was used as the takeup spool. The cassette was also upside down compared to more conventional usage so that they didn't need to be 'mirror image' versions of the very common film cassette.
The cassette was the takeup spool situated 'upside down' to the right of the light box, rather than to the left of the light box as is the case with most 35mm cameras. The film was wound onto the open 'takeup spool' situated to the left, rather than the traditional right, side of the light box. As each exposure was made the film was wound back into the cassette.
In effect, these types of disposable cameras were simply traditional cameras that were flipped 180° and then the controls were moved to the 'top' of the 'upside down camera.' The film was then wound onto the takeup spool without exposing it and then wound back into the cassette as it was shot.
The scheme mentioned in the first paragraph of this answer was used in more than just a few models at the end of the film era. All of the EOS film camera bodies beginning in 1987 did it. So did Konica's models that had built-in film winder motors that began appearing in the early 1980s. Almost all 35mm disposable cameras were (and still are) preloaded with the film out of the cassette. Pretty much any of the electronic 35mm compacts with motorized film advance that came out in the late 1980s and later did it as well. Prior to the early 1980s it was rare, but after it first appeared a LOT of camera makers adopted it.
One could take any SLR or compact 35mm "automatic" that was sold during the late 1980s or 1990s that 'preloaded' the film onto the takeup spool and then wound the film back into the cassette as it was shot and get the same pictures. You just need to hold the camera upside down as you shoot the roll.
Another possibility is that the pictures were shot using a "super secret spy lens" with a 45° angled mirror. You know, the kind you used to see advertised in comic books to take pictures of unsuspecting people like bikini clad young ladies at the beach?
When the "spy lens" is attached to the front of the camera's actual lens via the filter threads there's a hole in the side of the add-on 'barrel' that admits light which is then reflected by the mirror into the actual lens. There's a fake 'lens' on the front of the "spy lens" so it looks like you're pointing the camera in one direction while you're actually taking a picture of something 90° to the left or right of the camera.
By using a camera with such a "spy lens" attached and the hole rotated to point towards the top or bottom of the camera and then pointing the camera straight up in the air the images would be 'upside down' and reversed.