I am surprised by your findings, and can only surmise there is some issue with how the software handles each format on playback. There is no difference between any of the four formats as far as the audio data they incorporate ... they are all bit-for-bit identical.
AIFF and WAV differ only in the file structure ... they place the same information *about* the audio data differently. The audio data itself is, as I said, bit for bit identical. (Put a CD into a MacOS disk drive, and the files will be identified as AIFF files. Do the same on a WindowsOS machine, and those files are identified as WAV files. This is because the OS "wraps" the audio data with a few bytes describing the file type, so that other applications know what to do with the file).
Microsoft, as was it's habit, created an incompatible file format, and swapped the area of the file where this housekeeping data is kept, placing it at the front of the file preceding the audio data rather than at the end as in the Audio Interchange File Format (not an Apple format, as it is often but incorrectly described, but a cross-platform format originating in the early days of computing and used by IBM, Sun-Solaris, Amiga, Silicon Graphics, UNIX, the SONY digital recorders of the 1970's, dozens of permutations of DOS, etc).
Similarly, a non-lossy compressed format only describes the audio data differently, the data itself is identical to the non-lossy audio data.
(A crude description of a lossless compressed format is they describe a digital data section consisting of 111000011 as 3 1's, 4 0's, 2 1's ... and the descriptive language is more compact than the actual data written "longhand"). FLAC and ALAC are under the hood not much different than zip but have some optimizations designed to work better with real-time audio compression and decompression.
Technically there is no reason why you couldn't compress your music as zip format or your data as FLAC, but it just works better the other way around. That is also why there is very little difference in file sizes between the dozens of compression formats and why files don't get appreciably smaller if you compress them twice.
I have no explanation for your findings, as I said, there is zero difference in the actual audio data between any of these formats.
I also have no explanation as to why a decompression operation should have any difficulty with any of the above formats; FLAC and AIFF are open source, WAV is fully documented by Microsoft and although they do demand a royalty if used on a non-MicrosoftOS system or with a non-Windows application, it's not generally a roadblock. ALAC has been open-sourced by Apple so it's fully documented and free to use by anyone.