The only impact factor that is recognized as impact factor is the one assigned by Clarivate. Only journals indexed in SCIE/SSCI currently have an impact factor. You can check for the indexing of a particular journal title here https://mjl.clarivate.com/home
Another well-accepted metric is the CiteScore assigned by Scopus, calculated somewhat differently and based on a different database but basically telling the same message, you can check here https://www.scopus.com/sources.uri?zone=TopNavBar&origin=searchbasic
There are multiple reasons why a journal has no impact factor (too new, small number of papers published annually, low quality, lack of experience and financial resources etc.).
Warning: there are journals that prominently mention numerous so-called misleading metrics (https://beallslist.net/misleading-metrics/ ) often used by predatory journals.
Best regards.
PS. Although not accepted by official authorities you can get an ‘impression’ about the impact factor by checking Google Scholar citations, see for example https://scholar.google.com/intl/en/scholar/metrics.htmlsome journals calculate this themselves, it is as said indicative but not generally accepted.