If I recall correctly from my engineer's course, pressing either button simply activates a (different) solenoid to drop the RAT. Each release solenoid is supplied from a different hot bus. The reason there are two buttons is to make it simpler for you folks in an emergency; loss of electrics, press the ELEC button, loss of hydraulics, press the HYD button. Both buttons will give you the same thing though.