Because light attracts bugs.
Explanation: This joke plays on two meanings of “bugs.” In programming, a bug is an error in code, while in nature, bugs are attracted to light. The humor arises from the clever connection between dark mode and avoiding both types of “bugs.”