Open Activity Monitor (Applications > Utilities), click the CPU tab and sort by % CPU.
Anything sitting above 50–80% when you’re idle is your culprit. Common ones: a runaway browser tab, Spotlight indexing (mds/mdworker), photoanalysisd after an update, or backup and sync apps.
Quit the app or tab; if it’s indexing or photo analysis, leave the Mac plugged in and awake for a few hours and it will finish.
Also keep the vents clear (no soft surfaces) and close browser tabs playing video or heavy ads. On 2019 Intel models, dust in the fans is common; a clean can drop temperatures a lot.