The sentence with a clear transition between two ideas is:
Mowgli is afraid to leave his family, but he knows what needs to be done.
This sentence clearly indicates the contrast between Mowgli's fear and his understanding of what needs to be done, using "but" as a transition word.