The scientist experiences a force which allows him to accelerate with the trolley (this force comes from the scientists friction against the trolley from his feet). The ball in his hand also experiences this force. Once the ball is dropped, the only force acting on it is that of gravity. Hence...