Siderophores drive invasion dynamics in bacterial communities through their dual role as public good versus public bad