I am assuming this was a plastic cup with water in it that was just sitting loose when the aircraft started its take-off roll. At which point, laws of physics being what they are, it stayed still while the aircraft went forward and ended up on the floor. Although I have not seen this very much with cups of liquids, it's very common to see loose items end up in the aisle or a few rows behind at this point.