For sure a hash collision in their content-addressed storage system for images. Probably they take a thumbnail of the image and pass it to a md5 function or something instead of truly making sure there are no duplicate IDs.
But why not include the timestamp? How many image uploads can Twitter have within whatever resolution time you'd use? I wouldn't have thought it was that many.