Hives and angioedema usually happen because of an allergic reaction, often due to a drug or food.