The courtesy built into aap
Urdu distinguishes between familiar and respectful ways of saying you. For an unfamiliar adult, the respectful question is a useful default because it avoids assuming intimacy. Gender affects the adjective, while the polite verb remains the same. You can use tum with people you already know on familiar terms. A friendly greeting often comes before the wellbeing question, particularly when visiting someone's home.
Urdu and Punjabi on the same street
The Punjabi question tusi kiven o uses its own pronoun and verb forms. Punjabi written in Shahmukhi shares many letter shapes with Urdu, but that does not mean the two languages have identical grammar. In a bilingual household the conversation may move between languages naturally. Visitors can start with the language they know, then learn a local question if their host prefers Punjabi.
Keep your answer simple
Main theek hoon is a practical Urdu reply meaning I am fine. Shukriya adds thanks, while alhamdulillah can express gratitude for one's wellbeing. You may be asked about family members as the conversation develops, especially by someone you know. In a short exchange with a stranger, there is no need to volunteer personal details simply because the opening question sounds warm.