D-Day and afterward, to give the grunts a more visible indicator that this was a friendly aircraft, not an enemy one, in an attempt to reduce the number of friendly-fire incidents from Allied ground units.
Didn't work real well; ground troops tend to figure that any plane that surprises them and looks hostile is hostile and will shoot at it. Fortunately, they're usually poor shots.