Do heavier people burn more calories than skinny people?

I was walking my dog around the park today and I saw two people walking. One of them was about 230 pounds. The other I’m just gonna say was 180 but he had a rucksack. If the rucksack had 50 pounds in it then they would both weigh the same. So the question is is the person who is carrying 50 pounds burning more calories than the person who weighs 50 more pounds.