to / for

  1. He gave the dog a bone.
    1a. He gave the bone to the dog.
    1b. He gave the bone for the dog.
  2. He baked her the cake.
    2a. He baked the cake to her.
    2b. He baked the cake for her.
    Please correct the above.
    Explain the use of prepositions ‘for’ and ‘to’.
    Thanks.

2a is incorrect and 2 sounds odd, though is possible. You cannot compare the verbs ‘gave’ and ‘baked’ directly because of their meanings.

The sentences in the sets do not mean the same thing. (1a, 1b 1c have different meanings; 2, 2a have a different emphasis.)