As it becomes more profitable for VCs to invest in startups, they invest more and in more startups. Now that there are more startups and they have more money, they need to hire more software engineers, and have more resources to do so. So software engineer salaries go up.