How did the Venus Fly Trap evolve?

The reason plants became carnivorous, including the Venus Fly trap, is because they were growing in nutrient poor soil. Over time they evolved a way to supplement their lack of nutrients through capturing insects and absorbing the minerals in the insects’ bodies that they couldn’t take in through their root system like most plants do.