Are these two capacitors in series or parallel?
When the switch is closed they are forced to share the same voltage - this is a characteristic of being in parallel.

When the switch is open they can have different voltages,and the voltage across the switch is the sum of the two capacitor voltages - this is characteristic of being in series.