In these conditions, diamond is the more stable way to arrange carbon atoms and the conditions are such that the less stable form will covert to the more stable form because there is enough energy around to break the C-C bonds until the most stable structure is created.