Sherlock is upset over Molly being with Tom, and decides to confide in Mrs. Hudson about it.
He had every opportunity in the past to be with her, and now she was engaged to a lesser version of himself. He couldn't stand it!
By the time Molly Hooper learns that her current boyfriend is actually a dangerous criminal, she's already in too deep.