Adware slaps you with adverts - hence 'adware'.
Spyware somehow spies on your actions and sends data back - hence 'spyware'.
Diallers dial out to premium rate numbers - hence 'dialler'.

It's not brain surgery.