Pakistan used to have a solid secular movement in Peshawar before 1947. Many people do not know this fact. Peshawar used to be the socialist hub of the Subcontinent until military juntas on the British payroll in the post-1947 period destroyed it and turned it into what it is today.
Most Pakistani immigrants are usually more religious than the actual Pakistani people. Most immigrants come from low-income neighborhoods of Pakistan that have always struggled economically. They took their religious memes with them when they migrated. Memes work quite the same way as genes, which transfer from generation to generation and replicate.