Home buttons, Power Buttons, Volume Up, Volume Down and Mute Buttons can all fail from time to time. They are essentially only a mechanical device with an electrical switch and prone to failure from lots of use, water and residue damage.
The home button is a reasonably simple repair. Quick. Though with the iPhone from the 5S onwards they have a fingerprint sensor for security and this cannot be repaired with a replacement button. The facility will be lost.
All other buttons involve an amount of cabling to repair it. It takes a little longer but is a simple enough repair.