Can a 21-year-old get into legal trouble if he gets a 16-year-old pregnant if her mother agreed to the relationship?

Yes, how much will depend on the laws of the specific state. And the mother's 'permission' doesn't negate anything, in fact can get her in trouble for contributing to the illegal act.