Yep. The British marched in and told the locals "You now belong to Britain". Naturally lots of them showed up on Britain's doorstep. A by-product of colonization.
The UK spent most of the 20th century getting involved in other countries' politics. Especially in the Middle East. And Muslims have been emigrating to the UK for decades. Nothing new under the sun.