Endorsing a check…

If my name is on the check and it's my checking account why do i have to endorse a check to deposit in my own account.