Obsidian is produced when felsic lava extruded from a volcano cools rapidly with minimal crystal growth.