It is called as shell because it protects the operating system’s core aka the kernel from the user mode applications. It wraps around the kernel and syscalls exposed by the kernel to perform actions
The shell receives commands from the users and passes them to the kernel for execution !
The term shell is a resemblance of a nut shell which protects the nut inside it