Why do lump sum transfers affect prices?
Prices (and hence price ratios) carry information about what people want, and what is supplied.

You're only changing initial endowments, hence you're not affecting what is supplied. However, as you change the initial distribution, you change what each individual wants, and possibly (not necessarily) also what the economy as an aggregate wants. This change in wants and haves is reflected in prices.