The thing is the tranlation of "what for" and "why" have completely the same meaning in my native language. I'm interested in is there any difference between them in English.
That is, coudl you provide and example, if any, where these two constructions have the different meaning?