Most agents work off a shared listing. Eg 50% of commission goes to agency, then a split eg 25% to listing agent 25% to selling agent.
So obviously its in the listing agents interest to ensure they are also the selling agent'
Some agencies are different in that only listing agent shows and sells.