They were naughty.
And also, if the fossil record results from the Flood the earth was extremely crowded before the Flood, to say the least. There cannot have been room for anything to move. Crammed like sardines. It isn't surprising that God got rid of most of them.