That's because UK isn't pronounced as a word, it's pronounced as an acronym - yoo kay, so both letters are capitalised. If it was pronounced as a word - yuck perhaps - only the first letter would be capitalises.
An acronym is pronounced as a word. You mean initialism.