cycling is quite efficient, both as a muscular action as mechanically - as above, a 1:1 gear ratio offers no mechanical advantage over walking, but you'll still generally be slightly quicker than walking (even if you walked up without the extra weight of the bike).
The problems are balance - both going fast enough for lateral balance, as above, and vertical balance. If your effective centre of mass moves outside of the tyres, laterally or vertically, you'll fall off. The force required to stop you rolling down the hill are applied at the rear tyre at ground level, creating a moment that threatens to rotate you - this can be seen on level ground by pedalling hard in the saddle in a very low gear - 1:1 will normally be low enough - as you experience a wheelie. You can move your bodyweight forward to stop this, but too far and the rear wheel will spin. The steeper the hill, the narrower the balance point becomes - on a vertical slope, the rear wheel would either fail to deliver any force at all, or flip you over backwards, so climbing a vertical slope without special gear is definitely out!