they are formed as their component atoms move closer and closer
Anybody can make rock candy, if you have sugar, water, something to combine them in, and a bit of time.
So you can eat it.
Mineral.
They have small crystals because ...they from out side the volcano ... so the lava does not have much time to cool !!!