MP4 also supports putting the MOOV atom at the beginning of the file (which allows to start watching while downloading), it's up to the encoder to place it there. The reason it's often at the end of the file, is that the MOOV atom is variable-length and the whole stream needs to be processed to generate it. Thus, placing it at the end is faster.