Policy can shape behaviour.
Normally, we think of lawmaking as a reflection of the moral code engrained in society. There is an inverse reaction though, where official sanctioning can gradually change the moral code. In other words, a liberal stance towards abortion can lead to people thinking that "it's OK".