They are called "firearms" for a reason. Powder burns, expanding gas propels the bullet downrange. Any opening, such as the chamber or gaps around a cylinder, will allow some burning gases to escape.