Starter not engaging sometimes

Actually went under the car to look at the starter gear while someone turned the key and I was wrong. The gear extends and engages with the ring gear every time. What happens is 1 time outta 10 the starter extends and engages the ring gear but looks like it freezes up and makes a grinding noise inside the starter