Not to mislead, and def check codes but mine had similar issues when the ignition coil went bad. There’s a number of reasons for the symptoms you have described, but that’s my anecdotal experience…
If you’re unable to successfully isolate the problem elsewhere, you can always check that coil...