The nav mesh system in Unity uses the render mesh to generate the navmesh. The tilemap render mesh is flat as it is built out of sprites. Sprites, by nature, are flat.
You will need to do some workarounds, to transfer the colldier mesh to a separate render mesh, and then use that to generate the navigation mesh.