Butter is made by churning cream until the fat cells cling together to form buttermilk crystals, that's the simple explanation.
Cheese Is made by culturing bacteria to change and solidify the milk solids in milk, so the liquid can be drained off.. Again a simplified explanation.