Unnecessary to telegraph to others how we did this (unless he was fingered by other means and this was a cover story)
Loose lips sink ships. That said, the Times had this tidbit:
www.nytimes.com/2022/08/01/us/politics/al-qaeda-strike-afgha…
“According to one American analyst, the house that was struck was owned by a top aide to Sirajuddin Haqqani, a senior official in the Taliban government whom American officials say is close to senior Qaeda figures.”
It may be that Zawahiri was given up in exchange for something else such as future aid to the Taliban.
DB2