hey...plants respire at night and since you have a lot of plants, the Co2 (carbon dioxide) increases...Its really photosynthesis...When the lights are on, the plants release oxygen as their waste product (this explains why the fish are alright after lights are on)...But at night, the plants release Co2 and that may be the cause of your problem...Do not turn on an airstone in the tank while the lights are on (if your tank is heavily planted) since plants require a bit of Co2 plus the aquarium lighting to create oxygen and thrive...Turning on an airstone at night time will help with your problem by agitating the water surface enough thus diffusing Co2 out of the aquarium when the plants don't need to use it (thus giving an extra supply of oxygen and reducing the increasing supply of carbon dioxide)...Hope this helps.