Why are different ID informations printed in the inside of the same sort of bricks?
On newer pieces (maybe also the newest of the ones you show), there's a number identifying the mold and one identifying the position in the mold, allowing LEGO to trace a problem all the way back and examine the mold if a high number of errors seem to come the same mold.