Car only cranks after sitting for more than 30 minutes?

I’m sorry if this doesn’t make any sense but I’m trying to explain it the best I can.
My car has been having this problem where I can drive it for awhile and turn it off once it’s parked, then wait for maybe 10 minutes to fully crank it again, then it dies completely. Then have to wait 30+ minutes to fully crank it for it run.
I drive a 2013 Nissan rogue
Sorry again if this doesn’t make any sense
Car only cranks after sitting for more than 30 minutes?
Post Opinion