Animals don't synthesise B12, bacteria does. Animals cumulate it from eating food grown in soil. Industrial farming often require B12 to be added to animal feed as a supplement as they don't graze (as much).
Give this a second thought: humans don't synthesise B12 either.
Give this a second thought: humans don't synthesise B12 either.