What the next form will be depends on the sum of a person's actions in his previous life, his karma.
The next form a person will take depends on their actions and karma.
The next form does not depend on the actions taken in this life.