Sometimes the spending is to stay afloat in a competitive market. And sometimes it’s to take advantage of new opportunities.