Etymology
Today it means: By what, in which direction; how. Full definition →
From where + by.
Etymology from Wiktionary, CC BY-SA 4.0.