Both constructions have two accusative objects, but the first is recipient-plus-gift; the second represents a subject-plus-predicate proposition.
Opening interactive controls...
Same Accusative, Different Relationship
Intransitive and Transitive Verbs: One, Two, Three Objects
Both constructions have two accusative objects, but the first is recipient-plus-gift; the second represents a subject-plus-predicate proposition.