Flu shot while pregnant


Why is it that its recommended you get the flu shot while pregnant, but the cdc says its not safe for children under 6 months old? Not trying to start any controversy, but my child is under 6 months old, just because hes not born doesnt mean its okay. sorry just a rant