Transforming vertices, edges or faces affects surrounding areas
You have accidentally enabled proportional editing. It can be disabled by clicking on the button shown in the screenshot below or toggled by pressing the O shortcut when using the default keymap.