The correct option is A the colour of the rock it weathered from
The colour of the sand depends on the colour of the rocks they are formed from.
So, yellow sand is formed from rocks which were yellow in colour. In certain areas, the sand appears to be red in colour because the rock from which it was formed would have been rich in iron, which gives the rock it’s red colour.