The nerve that gives taste sensation to the tongue also goes through the middle ear. It might be injured during the surgery, but this is rare. This could affect your sense of taste.