Both are possible: why for reason, how for method.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
intiqam88That is why I did it. or That is how I did it?Of course they are possible. You're telling the reason or the purpose in the first one and the method or means in the second.