The correct option is B takes millions of years to be formed.
Any form of energy or material which cannot be renewed immediately or refurnished quickly are considered as non-renewable source of energy.
Fossil fuels are considered as non-renewable resources because it takes hundreds or millions of years for their formation. Once consumed, they can't be reused immediately.