Maybe he just realized how lonely he is.
Seriously though, you should have at least four more of his kind in there...these are very social fish.
It could be an internal thing. Try giving some zucchini or peas out of the skin. Levamisole HCL could be used, recommended for Loaches.
Good looking fish BTW.