Third-person omniscient is used to allow the omniscient, or all knowing, narrator to show readers what multiple characters are thinking. This provides the advantage of being able to switch between multiple characters' perspectives. The reader can then interact and relate to multiple characters, and the story can be more depthful.
The yellow wallpaper is driven by the narrators sense that wallpaper is a text she must interpret that its something effecting her