It's a trade-off. The behavior is pretty easy to grasp for the average user (closed laptop: stop doing everything, enter low-power mode), and there's ways around it for users that want something different (caffeinate command, ssh to tmux/screen sessions, etc).