Betta fish may flare their gills as a defensive display when they feel threatened or stressed. However, they may also do this as a form of communication or to assert dominance.