Due to the path of light
A house is a safe place to be during a thunderstorm as long as you avoid anything that conducts electricity. This means staying off corded phones, electrical appliances, wires, TV cables, computers, plumbing, metal doors and windows. Windows are hazardous for two reasons: wind generated during a thunderstorm can blow objects into the window, breaking it and causing glass to shatter and second, in older homes, in rare instances, lightning can come in cracks in the sides of windows.