An abscess is caused by bacteria that penetrates the body. It can occur in the mouth, after a wound, or by a foreign object that enters the body to name a few. There are several types of bacteria, with some causing puss and others that grow when there is no oxygen present.