Blazor has multiple templates. You are using the Blazor WebApp template that supports both server and WASM and pre-render for both. Even in WASM mode, the server code does a prerender.
if you want to create a WASM for static hosting, you are using the wrong template. You want the blazor webassembly standalone template. Or just
% dotnet new blazorwasm