The Internet's Finest Tropical Fruit Discussion Forum!"All discussion content within the forum reflects the views of the individual participants and does not necessarily represent the views held by the Tropical Fruit Forum as an organization."
Could that be jocote? I saw that everywhere in the Guanacaste region.
Maybe Eugenia hiraeifolia? The fruit are very Eugenia-like, especially the four persistent calyxes. Looking at Myrtaceae in Costa Rica on iNaturalist and saw this pretty close match. https://www.inaturalist.org/taxa/978489-Eugenia-hiraeifolia/browse_photos