National self-determination is a principle for peoples/nations, not "religions" as abstract sets of beliefs. Not a demand that every faith get a theocracy.
Pakistan was explicitly created as a homeland for the Muslims of British India.
The point is that Jews were uniquely denied it for centuries. The historical record is not a cartoon of "drive out the natives then bomb and expand".
Every nation state in the region—(and most elsewhere)—has borders shaped by war, migration, and demographic change. Selective outrage that treats only the Jewish case as uniquely illegitimate is the tell for antisemites.
If the standard is "no people whose state formation involved conflict, displacement, or later military action against neighbors gets self-determination," almost no modern country qualifies.
Pakistan was carved out again by the British to separate two warring religious factions within the old collonial "India" - it wasn't a case of transporting Muslims from around the world and depositing them in a new land to try compensate them for the atrocity they'd suffered at the hands of another imperial power. Imperial powers leaving death and destruction in their wake - whoda thunk it.
And by the way, as far as I know, Muslims from around the world can't just rock up to Pakistan, or indeed Hindus from around the world rock up to India, and demand that the locals who've been there for many hundreds of years be driven out and/or killed.
You're not comparing like with like and well you know it.

