The formation of carbon deposits, also known as coking, is typically a result of the thermal decomposition of hydrocarbons. High temperatures and prolonged reaction times facilitate the breaking down of hydrocarbon molecules, leading to the formation of coke on the catalyst surface.