Aircraft accumulate static electric charge during flight due to friction with air (triboelectric effect) and the operation of onboard electronic equipment.