Why did “chown” and “chgrp” changed permissions of a directory? It is not a “chmod”!

Everything was good on my website. Then I ran this: