Blocks are done by clicking because it introduces player input based on muscle memory into the blocking (i.e "skill"). If you were to change blocks just by dragging your mouse, it would be super easy to block attacks and the delay between blocks caused by player input would be totally removed.