The pictures are somehow not high resolution enough to clearly see if you soldered the wires to the airpump-motors
If the wires are not soldered it is very likely that you loose connection and / or the connection is unreliable
Same with flex-wires like the power-supply to the breadboard
just stuffing in such thin-wired flex-cables into a bread-board is an unreliable connection.
You should solder the half of a jumperwire to your power-supply-cable
isolate the soldering with adhesive tape or shrink-tube
and then plug in the jumper-wire-PIN into the breadboard.
Of course you can make it work for a first quick test on this twist and stuff-level of non-professionalism but for going on testing you should change to a more reliable way of connecting things.
If you stay on this twist and stuff level you are always in danger that some contact is loose and you can't distinguish
Is it my code or is it the hardware????
