I would almost always use "the" because "the palm trees" would be those specific trees growing on whatever beach you happened to be lying on. It's not a good example, in my opinion.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.