Option for removing block not appearing in custom gutenberg block

The issue was that I was missing { ...useBlockProps() } from the encapsulated div.
I was able to resolve the issue by changing the opening div returned in the edit attribute to

<div {...useBlockProps()}>