Tech startups usually grant shares subject to vesting conditions (or use options) in order to solve the problem of a founder leaving and taking their shares with them. The shares are either issued immediately subject to the company buying the shares back later under certain conditions (a reverse vesting agreement) or are granted over time (a vesting agreement).