[Gitlab-ci] Anchor working with needs but not with dependencies

Hi,
Anchor is working with needs but not with dependencies :
With needs :

With dependencies :

I am using GitLab Community Edition v17.6.3

Since needs and dependencies inputs are array of jobs (array of string), why its working only with needs ?

Thanks