The wife is concerned about her sons. To test this, her brother puts his nephews in a cage by where the lions walk. The lions are about to attack the boys when their uncle saves them. The fact that the lions wanted to attack the boys meant they are not really lions, so the happy mother lives with her boys.
Our animal bridegroom tales generally involve a man in disguise as an animal, not the other way around. And maybe I'm just so used to this, but what did the husband do wrong, other than smell funny and eat a goat? He's a lion who somehow appears human, and must have desired to marry the woman of the tale. Despite his lion nature, he had never harmed her or his sons. The tale just says that he might have eaten her in the future.