This question already has an answer here:

Did the younger Nebula shoot and kill the older in Avengers: Endgame or was it the other way around? and Was the shot fatal?

marked as duplicate by A J Apr 27 at 1:57

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.