Have you added anything new to the tank without quarantining it first? An internal blockage is possible. Fatty liver is also a possibility if you feed a high fat diet but that wouldn't happen quickly and probably wouldn't cause the swimming issues. Any other signs of stress?