Although general anesthesia
is much, much safer than it used to be, it can cause problems.
Even the discomfort from having a temporary breathing tube can be bad. Rarely bad things can happen with anethesia, as with any medical procedure. Doctors will balance the risk of a procedure with the risk of anesthesia. For example, removing a toenail is very low risk - not worth the risk of anesthesia.