Why is every country that has a muslim majority officially a "Muslim country"?

And the rules start to be according to their religious book
Why is every country that has a muslim majority officially a "Muslim country"?
Post Opinion