Histamine increases blood flow to the wound site, and increased vascular permeability allows fluid, proteins, phagocytes, and other immune cells to enter infected tissue. These events result in the swelling and reddening of the injured site, and the increased blood flow to the injured site causes it to feel warm.
I found this answer from online research.