If you were to take a lump of coal and squeeze for a long time at very high temperatures, you would end up with:
graphite
Volcanic glass, also known as obsidian
A smaller lump of coal
a diamond