Friends [subject-が] my birthday [object-を] celebrated [for me-くれた].
~てくれた expresses the speaker's gratitude — the friends did something beneficial directed toward the speaker. Without くれた, 祝った would be neutral; with it, the sentence conveys appreciation.