The capacitor is initially discharged, with no voltage across it. This can only change in response to current flowing into the capacitor.
When gate A's output ("A") goes high, the full supply voltage (well, almost) appears across the resistor, because one end is now high, and the other end is...