why do dogs like humans?

As humans we might not understand why dogs are such big fans of us. It could be that from a dogs perspective, humans seem to have an unlimited source of food at their disposal. Dogs may have developed their love for humans just because of all the free food they get from them. Since wolves evolved into dogs because of their symbiotic relationship with humans, one could argue that the domestication of wolves via selective breeding led to the reason most dogs like humans. Dogs also like humans because humans play with them and scratch them behind the ear. It could even be that dogs like humans because of a humans opposable thump, as humans could not throw a ball without them.