Core component of SQL Server for storing, processing, and securing data
There are two common issues. As stated you need to look in detailed log to get the actual issue.
- Disk sector size (common with newer hardware) https://dotnet.territoriali.olinfo.it/en-us/troubleshoot/sql/database-engine/database-file-operations/troubleshoot-os-4kb-disk-sector-size?tabs=registry-editor
- The computer is an arm64 system (say surface laptop). The only workaround is to use docker and its amd64 emulation support to host a Sqlserver container. You could also use the Sqlserver edge image: https://hub.docker.com/r/microsoft/azure-sql-edge