it is the same as `from sunpy import sun` as there is a from `sunpy.sun.sun import *` in the `sunpy/sun/__init__.py` file.

Well ok it is not the **same** but `from sunpy.sun import sun` is a subset of `from sunpy import sun`.