My lawnmower blenny did that forever, I think the only reason he stopped was that he grew to big, Or maybe he got whacked one day and learned his lesson. Gramma are natural cave and shelf dwellers, if you don't have one in your tank might consider reworking some rock to give him a hangout.