Cooking is controlled change. Heat makes proteins firm up (an egg white turns solid), turns tough cuts tender over time, melts fats into flavour, and browns surfaces into the deep savoury crust chefs chase — browning is flavour being born.
Each method is a different road for heat. Baking and roasting surround food with hot air. Frying uses hot fat as the messenger. Boiling and steaming use water — which can never pass its boiling point, making water methods gentle and exact.
And the quiet truth of all of it: carryover. Food keeps cooking a little after it leaves the heat, as the hot outside shares its heat with the middle. Great cooks take food off a breath early and let it rest — juices settle, temperatures even out, patience becomes tenderness.