According to my mum and her religious friends, God put dinasour fossils in the Earth as a way, to put it simply, to give is something to do. Same with the rest of the Universe - it's all just there for our amusement, apparantly. Or at least to keep us occupied.