Being a good dev requires long term commitments and delivering.
Teaching is a serie of small sessions, each connected but still, they have their own close little finish line.
So if you are a procrastinator or have a hard time finishing, you may be a good teacher and yet a mediocre dev