God sometimes allows us to go through times of suffering through which we ask why Lord? He uses it to change our character and so that we can understand others. I have also realised that it can be a time where He is able to make us realise how much He loves us. His love is far and beyond what any one of us can ever realise no matter how long we live or how close to Him we are. I do not think we can ever comprehend what He suffered on the cross for us.
God’s commandments are there because He sees how destructive these things are to us and others.