The only Rock Type attacks with 100% accuracy are Ancient Power, power gem, smack down, and accelerock. Why is this?
No one knows except Game Freak. But my speculation is that rocks can be dodged more easily than other attacks. Simply throwing a rock at an opponent is less likely to hit than, say, engulfing them in fire.
Hope I helped!