It is possible there are processes running in the background that are using significant resources. Check Activity Monitor, CPU tab (sort by % CPU) and Memory tab (sort by Memory) to see what's running hard.
Activity Monitor User Guide for Mac - Apple Support
See if the problem is present when you boot in safe mode, which disables 3rd party extensions and performs some system cleanup.
Start up your Mac in safe mode - Apple Support
It might help to download and run EtreCheck, written by a long-time forum member. The free version is fine. Post the full report using the Additional Text button. No personal information is revealed.
