The historical factor that explains the leading religion in Albania, Kosovo, and Bosnia and Herzegovina is:
The Ottoman Empire once controlled these countries.
This control led to the spread of Islam, which is the predominant religion in those areas today.