Looks like somebody ordered the joist material too short and hacked together a solution.I’ll be curious to see the explanation from one of the framers about what is going on here.
In theory, a guy could knock the blocks out and put on sister boards out to the rim.
That would open it up for foam.