What is happening
A compatible model restore depends on the SQL Server version, patch level, collation and instance context. Rebuilding system databases recreates model, master, msdb and tempdb, so it can erase recoverable logins, jobs and configuration. The narrowest recovery path separates model damage from missing paths, permissions and underlying I/O failure.