Closed-back headphones protect the internal components. You can take it in public without because it can turn off additional external noise, providing better separation.
Open headphones cannot block external noise very well; you will hear everything happening around you. In addition, they also leak out the sound.