Can anyone explain why setting a block attributes source to a data-attribute doesn’t work?

Can anyone explain why setting a block attributes source to a data-attribute doesn’t work?

tech