Pass Transistor: discharging of the capacitance
The notion of "resistance to which it discharges itself" is not very meaningful. It's better to think about the path of the current.

When Vin goes to 1V, the left end of the MOSFET becomes the source and the \$V_{GS}\$ is a high voltage so the MOSFET becomes conducting. Current flows from the capacitor, through the MOSFET, and into the voltage source. In any real circuit, all of the wires will have some resistance. The MOSFET has a drain-to-source voltage across it when it is conducting, so it also dissipates power. The capacitor has an ESR (effective series resistance) and the voltage source has some effective resistance.

The energy lost from the capacitor as it discharges is converted to heat by all of those elements, in proportion to their effective resistance.