Understood but, given what is asserted about the omnipotent, omniscience of their god, 'cultural values' would not have been a factor in 'His' 'communications' with their prophet on the subject of raping a small child.
So my assertion still stands, either they claim that their god approved of child-rape then but does not now, or they are claiming their god approved of child-rape then and still does now.
In asking this question we do not establish anything about their 'god' ourselves as atheists, but given that theists claim to have knowledge of WhatGodWants(tm), the question can be directed at them to answer because our questions do not concerns the gods we do not believe in but the dysfunctional delusions they do. Understanding what values they ascribe to their world-view by way of having them explain what their god values and does not is critically important to better understand just how toxic their psychology and their religions are.
Do I get all the bacon I want in Allah's Heaven?
Although it sounds like a joke, I suspect something like this is a serious theological question among those who take such things seriously.
Muslim good deeds, according to parts of the Quran, include executing those who don't accept Islam as their religion.