You need to follow the instructions: Check the SQL Server error log for potential causes. You find this log in C:\Program Files\Microsoft SQL Server\MSSQL15.SQLEXPRESS\MSSQL\LOG\ERRORLOG, assuming a default installation of SQL Express.
If you are on Windows 11, and you see this message at the end of the log There have been 256 misaligned log IOs which required falling back to synchronous IO. The current IO is on file C:\Program Files\Microsoft SQL Server\MSSQL15.MSSQLSERVER01\MSSQL\DATA\master.mdf, you are running into a known issue. See this troubleshooting article from Microsoft for workarounds.
If you don't see this error, upload the log file here, so we can look at it. (You will need to rename it to ERRORLOG.txt for the forum to accept the file.)