Any close relative or friend of the deceased person can write the obituary. Many funeral homes offer this service as well.
However, before you ask a stranger to write the final story about your loved one – consider writing it yourself! You knew this person. You loved them. You appreciated them. You’re the one who should write a tribute to them.