There’s a rubber vent tube on the back of the headlight assembly that prevents condensation from forming inside the headlight.
Remove the vent tube and see if there’s a restriction inside the vent tube.
Sometimes spiders lay egg sacs inside the vent tube causing a restriction.
For the tail light, again, make sure the vent isn’t plugged.
(upper right)
Tester