It's not necessarily that it is expected (though it does make sense), it's just the only way I was able to replicate this behaviour.
There's an open issue and a PR to fix this: It should not be possible to create a new note from the trash · Issue #10188 · laurent22/joplin · GitHub