The reason why Windows is full of UI inconsistencies is (largely) because of one thing: backwards compatibility.
I've been a Windows user since Windows 3.11. I suggest another explanation: Microsoft has been a monopoly in desktop OSs for 40 years, and it shows.