The historical factor that explains the leading religion in Albania, Kosovo, and Bosnia and Herzegovina is:
The Ottoman empire once controlled these countries.
The Ottoman Empire's dominion over these regions contributed significantly to the spread of Islam, which is the predominant religion in these areas today.