It’s a warning light on top of a tower crane!

Tower cranes, used in construction of buildings, are so tall they can be a danger to airplanes at night, so warning lights are required by the Federal Aviation Administration