A conception-seeking question normally sets out alternatives using connected am. The speaker contrasts two possibilities so that the responsible person, state, or time can be identified.
أَأَنْتَ فَعَلْتَ هَذَا أَمْ يُوسُفُ؟
Did you do this, or did Yūsuf?
The doing of the action is taken as given, while the agent remains uncertain. The answer identifies the agent, rather than simply saying yes.
أَرَاغِبٌ أَنْتَ عَنِ الْأَمْرِ أَمْ رَاغِبٌ فِيهِ؟
Are you averse to this matter, or interested in it?
Here alternative predicates are contrasted. In both questions, am serves a specific choice rather than merely linking unrelated statements.