she 'd spent her entire life locked inside tartarus because her mother , rhea , wife to cronus , had had an affair with a mortal just before the queen 's imprisonment and had eventually given birth to scarlet inside her cell .