When you say "rams" do you mean flashing or rubbing himself on objects in the tank, if so, he is itchy for some reason-either parasites or heavy metals in the water.

Well he doesn't flash onto any objects. Its like he wedges himself into a tiny little space in between some of the plastic plants and just sits there, crammed in a tiny space with his fins plastered down onto himself. He just finds a way to squeeze into a tiny little space and then pokes out eventually just to swim around.