I understand that MP3 is not recommended for production as it is lossy, but that is irrelevant here.
I understand that the MP3 encoding algorithm inserts silence in the first second to pad out the block amongst other reasons. However, upon further inspection, the algorithm also inserts random nonsense values amongst the silence. Puzzled, I tried it out on a plain beat (VES2 Bassdrum 001) as shown below.

I then proceeded to export as MP3 at the highest quality possible with the LAME plugin:

Afterwards, I opened the exported file, and lo and behold, there was random "static" values before the kick! To be exact, 2257 samples worth of nonsense. That's ~0.0512 seconds worth of randomness:

If you also look closely, you can see the encoder chopped off some values at the end of the sample!
What I'm wondering is why does the algorithm decide to put the random values at the front of the first chunk instead of the end of the last chunk? I'm also wondering, why are the random values random? Why can't the encoder just use 0.0?