My clown loaches swim like that all the time, usually with there nose digging around the substrate, im sure its just natural.
when tiger barbs do this its usually a sign of nitrite poison.
If I recall correctly they swim that way when resting/sleeping at night.
I was thinking about getting some tiger barbs, but now am not so sure. Something about hanging fish just kinda creeps me out.