2010 Chevrolet Colorado stopped cranking

First thing I need to say is I do floor my vehicle a good bit and the issue I’m having is the gas pedal wouldn’t make it go all the sudden and then I turned my truck off and cranked it again then it ran a little them did the same thing eventually it stopped cranking but it will try to crank and I don’t know what’s wrong with it

Can you turn the engine over with a breaker bar on the crankshaft?

Check the oil.