Nat. Clim. Chang.
10. Grether GF, Peiman KS, Tobias JA, Robinson BW. 2017 Causes and Consequences of Behavioral Interference between Species. Trends Ecol. Evol. 32 , 760–772.
11. Brown JL. 1964 The Evolution of Diversity in Avian Territorial Systems. Wilson Bull. 76 , 160–169.
12. Peiman KS, Robinson BW. 2010 Ecology and evolution of resource-related heterospecific aggression. Q. Rev. Biol. 85 , 133–158.
13. Pratchett MS, Wilson SK, Berumen ML, McCormick MI. 2004 Sublethal effects of coral bleaching on an obligate coral feeding butterflyfish?Coral Reefs 23 , 352–356.
14. Thompson CA, Matthews S, Hoey AS, Pratchett MS. 2019 Changes in sociality of butterflyfishes linked to population declines and coral loss. Coral Reefs 38 , 527–537.
15. Caro T, Sherman PW. 2012 Vanishing behaviors. Conserv. Lett. 5 , 159–166.
16. Cole AJ, Pratchett MS. 2013 Diversity in diet and feeding behaviour of butterflyfishes: reliance on reef corals versus reef habitats.Biology of butterflyfishes , 107–139.
17. Driscoll JW, Driscoll JL. 1988 Pair behavior and spacing in butterflyfishes (Chaetodontidae). Environ. Biol. Fishes 22 , 29–37.
18. Kelley JL, Fitzpatrick JL, Merilaita S. 2013 Spots and stripes: ecology and colour pattern evolution in butterflyfishes. Proc. Biol. Sci. 280 , 20122730.
19. Semmler RF, Sanders NJ, CaraDonna PJ, Baird AH, Jing X, Robinson JPW, Graham NAJ, Keith SA. 2022 Reef fishes weaken dietary preferences after coral mortality, altering resource overlap. J. Anim. Ecol. 91 , 2125–2134.
20. Blowes SA, Pratchett MS, Connolly SR. 2017 Aggression, interference, and the functional response of coral-feeding butterflyfishes.Oecologia 184 , 675–684.
21. Blowes SA, Pratchett MS, Connolly SR. 2013 Heterospecific aggression and dominance in a guild of coral-feeding fishes: the roles of dietary ecology and phylogeny. Am. Nat. 182 , 157–168.
22. R Core Team. 2023 R: A Language and Environment for Statistical Computing.
23. Bates D, Mächler M, Bolker B, Walker S. 2015 Fitting Linear Mixed-Effects Models Using lme4. J. Stat. Softw. 67 , 1–48.
24. Oksanen J et al. 2022 vegan: Community Ecology Package.
25. Martinez Arbizu P. 2017 pairwiseAdonis: Pairwise Multilevel Comparison using Adonis .
26. Schoener TW. 2015 Time Budgets and Territory Size: Some Simultaneous Optimization Models for Energy Maximizers1. Integr. Comp. Biol. 27 , 259–291.
27. Keith SA, Hobbs J-PA, Boström-Einarsson L, Hartley IR, Sanders NJ. 2023 Rapid resource depletion on coral reefs disrupts competitor recognition processes among butterflyfish species. Proc. Biol. Sci. 290 , 20222158.
28. Nowicki JP, Walker SPW, Coker DJ, Hoey AS, Nicolet KJ, Pratchett MS. 2018 Pair bond endurance promotes cooperative food defense and inhibits conflict in coral reef butterflyfish. Sci. Rep. 8 , 6295.
29. Donelson JM et al. 2019 Understanding interactions between plasticity, adaptation and range shifts in response to marine environmental change. Philos. Trans. R. Soc. Lond. B Biol. Sci. 374 , 20180186.
30. Hazlett BA. 1988 Behavioural Plasticity as an Adaptation to a Variable Environment. In Behavioral Adaptation to Intertidal Life (eds G Chelazzi, M Vannini), pp. 317–332. Boston, MA: Springer US.
31. Walters M, Diamant ES, Wong F, Cen C, Yeh PJ. 2023 Behavioural plasticity and the anthropause: an urban bird becomes less aggressive.Anim. Behav. 200 , 71–80.
32. Kaiser SA, Sillett TS, Webster MS. 2014 Phenotypic plasticity in hormonal and behavioural responses to changes in resource conditions in a migratory songbird. Anim. Behav. 96 , 19–29.
33. Sol D, Lapiedra O, González-Lagos C. 2013 Behavioural adjustments for a life in the city. Anim. Behav. 85 , 1101–1112.
34. Price TD, Qvarnström A, Irwin DE. 2003 The role of phenotypic plasticity in driving genetic evolution. Proc. Biol. Sci. 270 , 1433–1440.
35. Berumen ML, Trip EDL, Pratchett MS, Choat JH. 2012 Differences in demographic traits of four butterflyfish species between two reefs of the Great Barrier Reef separated by 1,200 km. Coral Reefs 31 , 169–177.
36. Berumen ML. 2005 The importance of juveniles in modelling growth: butterflyfish at Lizard Island. Environ. Biol. Fishes 72 , 409–413.
37. Lawton RJ, Cole AJ, Berumen ML, Pratchett MS. 2012 Geographic variation in resource use by specialist versus generalist butterflyfishes. Ecography 35 , 566–576.
38. Grant JWA. 1993 Whether or not to defend? The influence of resource distribution. Mar. Behav. Physiol. 23 , 137–153.
39. Grant JWA, Noakes DLG. 1988 Aggressiveness and foraging mode of young-of-the-year brook charr, Salvelinus fontinalis (Pisces, Salmonidae). Behav. Ecol. Sociobiol. 22 , 435–445.
40. Gunn RL, Benkwitt CE, Graham NAJ, Hartley IR, Algar AC, Keith SA. 2023 Terrestrial invasive species alter marine vertebrate behaviour.Nat Ecol Evol 7 , 82–91.
41. Grant JWA, Girard IL, Breau C, Weir LK. 2002 Influence of food abundance on competitive aggression in juvenile convict cichlids.Anim. Behav. 63 , 323–330.
42. Dolman PM, Sutherland WJ. 2008 The response of bird populations to habitat loss. Ibis 137 , S38–S46.
43. Hale R, Swearer SE. 2016 Ecological traps: current evidence and future directions. Proc. Biol. Sci. 283 . (doi:10.1098/rspb.2015.2647)
44. Robertson BA, Hutto RL. 2006 A framework for understanding ecological traps and an evaluation of existing evidence. Ecology 87 , 1075–1085.
45. Weldon AJ, Haddad NM. 2005 The effects of patch shape on indigo buntings: Evidence for an ecological trap. Ecology 86 , 1422–1431.
46. Hughes TP et al. 2018 Spatial and temporal patterns of mass bleaching of corals in the Anthropocene. Science 359 , 80–83.