The friendliest place on the web for anyone with an interest in aquariums or fish keeping!
If you have answers, please help by responding to the unanswered posts.
There are two reasons why fish scratch against rock...parasites (including ich) and dominance...usually seen in tangs. What kind of fish do you have? Are there visual signs of parasites?
Fish will do this from time to time, with no parasite even. Just keep an eye on them and don't take action unless you see visible symptoms also - such as spots. It may also be a sign to increase the water quality - water changes will lower chances of infections or bacteria.