I think some people are confusing "morals" with "laws." Laws are the societal rules used to keep a group of people from descending into the lord of the flies. Morals are often a higher standard of rules that are often not enforceable.
For example: unjustified killing is often considered amoral. It is often also against the law. This is good for a society because otherwise there would be no incentive for people not to kill each other, even of only because of a misplaced belief that someone was going to try and kill them first. Also, there would always be some segment of the population engaged in some sort of revenge murder, and so forth.
However, although some people may think that harboring mean (or other) thoughts about someone may be immoral, regulation of such a happening would be very cumbersome.
Thus, in many civilized societies, laws are restricted to actions that have an effect on other individuals or society on the whole (even if it is just a perceived harm or only harm to the currently ruling government).
There are some societies that do try to fully regulate a version of their morals. Most likely, if you are able to play this game, you do not live on one of those societies.
Perhaps a good way to think of the difference is to consider "morals" as subjective, and "law" as objective manifestations of the same ideal - that humans can live together in relative peace.