No, why and how don't mean the same thing.Both of them asks about different things.Why asks about the reason or cause for something.for ex:
*Why are you crying,John?
- How asks about the manner or method in which something is done.for ex:
*How do you go to school?