How can 10V AC change to 12V DC?
1VAC has 1.414 times the peak value, so 10 VAC has about 14 volts peak, so the capacitor will charge to about 14V DC, slightly less due to diode dropping some voltage. Depending on the load, it can be approximated to be unregulated 12V DC.