Why is a company's main business relevant to share screening?

Islamic Investment Funds: What Makes a Fund Shari‘ah-Compliant?