A person turns toward doing or not doing an act, forms an intention and adopts the relevant means. The act is the person's kasb in respect of that intention and choice.
If human intention made no difference between virtue and sin, commands, prohibitions and accountability would lose their significance. Yet one must not make the existence of an action independent of Allah's power.
Acquisition belongs to the servant; creation belongs to Allah. This preserves both responsibility and divine sovereignty.