Sounds like you have a Chinese Algae Eater, and yes, they do that. Best to re-home him if you can.
Personally I can't understand why they're sold as algae eaters, because they don't eat algae after a while, and instead eat fish. I'll never get another one.