Of course but did you realize that despite mountains being pushed up through shifting plates erosion still will take away the top parts of those mountains. So if a mountain is 20,000 feet it can be eroded down by 10,000 feet but then maintain a decent height of say around the same maybe 18,000 feet or so. But that doesn't mean it has only lost 2,000 off the top. It still has lost the 10,000 feet but its just grown again to make up for it. So an entire original mountain of 20,000 feet can be eroded away and then replaced with another new mountain over time.
So my point was the fossils are on the surface of the earth in the top layers of sediments. When a mountain is pushed up those top layers are still at the surface but instead are up in the air at 20,000 feet or so. Then erosion takes away the top 10,000 feet of the mountain over millions of years. That should destroy any fossils and take the mountain down to the harder granite. But many mountains still have the fossils of sea life and even water ripples on them. Why is that.