Answer: it is an optical illusion.
Explanation: A car cannot go uphill when its brakes are released so far as the engine is not running as this would negate the first law of thermodynamics and also gravity.
You can verify whether a road is pitched uphill or downhill by using a level meter.