Here, the owl is portrayed as a creature associated with the night, solitude, and mystery. It doesn't "complain" in the literal sense, but its hooting is used to evoke the quiet, mournful, and reflective mood of the evening.
The owl's cry seems to symbolize the melancholy tone of the poem, aligning with the theme of death and the passing of time.