There may be a preexisting contract between investors that grants this right of first refusal. In some scenarios (e.g. startup seed rounds) it is customary to require such a contract as part of the investment deal, however, if you don't contract for this right you don't have it, and it may well be that some shareholders (e.g. investors) have this right and other shareholders (e.g. initial employees) don't.