The terms overlap. In fact I see that this dictionary
https://ahdictionary.com/word/search.html
defines the noun as "A person who trains or directs athletes or athletic teams" and "a person who gives instruction or guidance," and the verb "to coach" as "to train or tutor." So you can even say they are synonyms.
In practice, to me, "training" means becoming proficient in specific skills and goals. For example, a dog can be "trained" to sit on command. A dog who has been properly trained will sit down quickly every time they hear the command "sit." An employer who has been "trained on" a new computer system can use it to do all the tasks they need to do. A student who has received "driver training" is ready to pass the driver's exam and get a license.
"Coaching" means a more general sort of guidance. For example, a professional singer may have both a "voice trainer" and a "vocal coach." "Voice training" enables a singer to hit a high C for a long time and sound good doing it. "Vocal coaching" doesn't teach any specific skill, but gives the singer a deeper understanding of the music.