TWTS: "Both" and "each" are interchangeable, except when they're not.

That's What They Say - A podcast by Anne Curzan, Rebecca Kruth

When you’re only talking about two things, “both” and “each” can be interchangeable and often are. However, “both” can sometimes be ambiguous.