The problem is that you're a known quantity, and the founders/investors see you as a great worker -- in a certain role. They perceive some problem, and since you're part of the system with the problem, you are seen as incapable of fixing the problem. Better to hire Magic Mike from Facebook or Brilliant Bob from Google to come in and make everything better.
I've seen this happen so many times. If you're an engineer, your choices are generally a) swallow your pride, ride out your vest and don't advance in your career, or b) quit, lose the money, and hopefully move into that more senior role somewhere else, so that you can be Magic Mike next time.