Why do companies take a stand on political issues?

Many companies fund political campaigns, and by going so, if the candidate wins he or she will invest money into the company. So if a company endorses a political issue, it usually endorses the one viewed by the majority. That way it will receive more business from the countless consumers who share its opinion.