As the screenshot shows the .XLSM label your Excel spreadsheet is being edited using Google Sheets without converting it to the Google Sheets format. In this case some features aren't available like the Script Editor and the Macro recorder as it depends on the Script Editor.
In order to have all the Google Sheets features you have to convert the your Excel file to Google Sheets format but bear in mind that there are some Excel features (including formula functions ) that aren't supported by Google Sheets. Also if you convert the Excel file to Google Sheets the macros will not be converted from VBA to Google Apps Script, you have to convert them.
For more details checkout the official resources liked below.
If you have a Google Workspace account that supports Macro Converter add-on you might use it but bear in mind that the conversion is not something simple as, among other things, it'ss required "to have some proficiency" both with Excel and Google Sheets spreadsheet and with scripting with VBA and Google Apps Script
References
Resources
Switching to Sheets from Microsoft Excel