Why were these objects historically given the misleading name 'planetary nebula'?

Answer

They resembled the appearance of Uranus or Neptune through early telescopes

The name originated in the late 18th century because astronomers observing them through early telescopes saw small, round, greenish-blue objects that resembled the appearance of known planetary bodies.

Why were these objects historically given the misleading name 'planetary nebula'?
astronomystarsnebulaeVisibilityplanetary nebulae