Suppose you're driving along a country road. Imagine it's snowing and visibility is poor. You will be driving carefully to avoid an accident. This is the risk perspective. Managing potential consequences.
The next day is sunny and there's hardly any traffic. Accidents seem unlikely. However, by the roadside is a sign with the local speed limit. You will be adhering to this limit. (Right?) This is the compliance perspective. Doing as we're told.
These perspectives are different but also interrelated.