كَيْفَ أَنْتَ؟
How are you?
Kayfa asks about a person’s or thing's condition or manner. The answer supplies a description of health, illness, mood, or way of acting rather than merely a name or number.
كَيْفَ جِئْتَ؟
How did you come?
This may request the manner of arrival, such as walking or riding.
أَنَّى يُحْيِي هَذِهِ اللَّهُ بَعْدَ مَوْتِهَا
How will Allah bring this to life after its death? (al-Baqarah 2:259)
Here annā bears a meaning close to kayfa. Context, not the bare word alone, is sometimes needed to identify the exact sense of an interrogative.