Bedrock 1.21 latest version

I’ve made this simple wool farm many times and it’s always worked perfectly for my liking but this is my first time building it inside. I thought dirt required a light source of 9 or higher..is my current set up not enough? What am I missing? Thanks!
Why isn’t the grass growing on the dirt under the sheep??