In this context, "entry" refers to an individual record or portion within a diary, so "a diary entry" specifically highlights a single, standalone log within the overall diary. This terminology is common because diaries often consist of multiple entries, each reflecting a specific date, event, or thought.
Saying "a diary entry" instead of just "a diary" distinguishes one recorded moment from the entire collection of writings in the diary. "A diary" refers to the whole book or collection, whereas "a diary entry" is just one segment within it.