Why return and throw is expression and not statement?

One of the main purpose of compiler is to detect bad code or code that could produce issue in understanding of code