On page 6 of A Shorter Model Theory, it says
For example if $G$ and $H$ are groups and $f : G \to H$ is a homomorphism, then (2.1) says that $f(1^G)=1^H$ and $f(a^{(-1)^{G}}) = > f(a)^{(-1)^{H}}$. This is exactly the usual definition of homomorphism between groups. Clause (2.2) adds nothing in this case since there are no relation symbols in the signature. For the same reason (2.4) is vacuous for groups. So a homomorphism between groups is an embedding if and only if it is an injective homomorphism.
Emphasis added.
Hodges always bolds terms when providing a definition like this, which I think means that embedding and injective homomorphism refer to separately-defined notions that happen to line up in this specific case.
Intuitively I think of an embedding and an injective homomorphism as the same thing, not even differing intensionally, but I think this intuition is wrong.
How do embedding and injective homomorphism differ in meaning? Is there a good example that demonstrates this?
For groups they are the same thing. For topological spaces, they are not. There can be an injective continuous map $f:X\to Y$ where the image $f(X) $ is not homeomorphic to $X$. A quick example is $X=[0, 2\pi)$, $Y=S^1$, $f(x) =e^{ix} $.