Strange object in the sky nearly triggers mid-air collision