If your fish is swimming at the surface and appears to be gasping for air, it may be suffering from hypoxia, or lack of oxygen. This can occur if your tank doesn't have enough dissolved oxygen to meet the needs of the fish. ... If it's too warm, that means less oxygen is available to the fish.