Fun-fact: that's a relic of Windows 3.1, where the close button was exactly in the top left corner of each window.

Too bad most new Windows 10+ apps don't support that anymore.