Pit firing is done when a fire is built around the pots and allowed to burn down. The colors are from the smoke, ash, and other combustibles - just about anything you can burn.
Pit fired pots are not functional - not food safe and are not waterproof.