Generally yes vasectomy is safer. But if they’re planning to give birth via c-section for whatever reason for example, then in practical terms there’s basically no additional risk. Plus neither method is totally effective. So if you can both get fixed you have much better chances of not getting pregnant accidentally.