Tom Lynskey has an interesting theory of it having to do with the coal bunker fire. The stokers shoveling coal from the burning bunker on the starboard side to an empty bunker on the port side to get the fire to go out, resulting in a 2-3 degree port list. Then the ship's starboard side hits the iceberg, the water flooding in creates a starboard heeling moment bringing it back that way.
Lightoller orders the
D-deck shell door opened hoping to load lifeboats through it. Scotland Road on the port side begins to flood, and that open shell door starts dipping underwater, bringing the ship's list back toward port. By now, the ship settled enough in the water, with enough flood water down low to weight it down, to help prevent it from fully rolling over.
It's on the Titanic Honor & Glory Youtube page from several years ago, I think the video is Miracles of the Titanic Sinking or something like that.