Tehran says Doha is holding three pilots whose aircraft went down early in the Middle East war.