Using any custom component will make a block interact-able even if the custom component is not using the "onPlayerInteract" component. Something to not that having the component itself does not trigger this behaviour but once the component has a value then the behaviour occurs.
Reproduce:
Download the add-on attached
Create a new world in Preview 1.20.80.23 with the Beta APIs experimental toggle enabled
Using commands, give yourself "mojira:custom_block_2" and "mojira:custom_block"
Place the blocks next to each by right clicking on any side of the block
Expected Behaviour:
Both blocks should be able to be placed when right clicking on any face of the block
Actual Behaviour:
Per the video, "mojira:custom_block", which has a custom component, prevents this behaviour from happening. Whereas "mojira:custom_block_2" works like any other block that isn't interactable.
Linked issues
Attachments
Comments 3

Can confirm, affects 1.21.0.20.
It may be necessary to manually update the @minecraft/server API in the manifest.json file. I conducted my tests on beta 1.12.0 of the API.
Fixed in Preview 1.21.0.24 according to changelogs: https://feedback.minecraft.net/hc/en-us/articles/26354480452109-Minecraft-Beta-Preview-1-21-0-24