There both banned because the people running these programs are afraid of fueling the anti-vaxxers. There isn't any solid basis for this, and it will cost hundreds, possibly thousands of lives.
It's like banning seat belts because rarely people get caught in a burning car by the seatbelt.