The word automation “framework” is sometimes used incorrectly.
Would you classify Selenium, RestAssured etc. as framework?
IMHO these are libraries, using which we develop frameworks.
Frameworks are built using a number of libraries like the ones mentioned.
There might be some common utilities of your own, some additional reporting you’d add along with a reporting library etc.
In general, a ‘framework’ IMHO will be something you build for your product using a number of libraries.
Linked article for further details: