You have no obligation to tell your employer why you are leaving  but if you want to maintain a professional relationship  respect each other with your employer  it would be better to express your future intentions if you consider other career opportunities