The flange helps the screw to remain in its situation, using the position of the washer for some jobs.
Socket head cap screws are particularly favored in assembling bikes and engine pieces, where a safe and tight https://types.blog/types-of-screw-heads/