A combination of factors creates the necessary conditions for bioluminescence: red mangrove trees surround the water (the organisms have been related to mangrove forests although mangrove is not necessarily associated with this species); a complete lack of modern development around the bay; the water is warm enough and deep enough; and a small channel to the ocean keeps the dinoflagellates in the bay. This small channel was created artificially, the result of attempts by the occupants of Spanish ships to choke off the bay from the ocean. The Spanish believed that the bioluminescence they encountered there while first exploring the area was the work of the devil and tried to block ocean water from entering the bay by dropping huge boulders in the channel. The Spanish only succeeded in preserving and increasing the luminescence in the now isolated bay.