The story
From the Executive Mansion ("house") of the United States of America having been painted white, giving its appearance of a white house; having been painted to cover up the damage from the War of 1812 when the British burned the mansion down.
Etymology from Wiktionary, CC BY-SA 4.0.