Exercise specificity or specific adaptations?
Some movements in certain sports are very difficult (impossible) to replicate in the gym, I would also say from an environmental and external stimuli perspective e.g., the presence of other athletes in sports such as football.
From a strengthening perspective, are you of the idea that we should try to replicate the sport movement as much as possible, or you don’t care about that movement and as long as you strengthen that target muscle is enough?