They won't release NHL (or any other title for that matter) on play anywhere because it directly competes with their own platform, Origin. If you look at the list of play anywhere titles there isnt a single EA game.
https://www.xbox.com/en-US/games/xbox-play-anywhere
Of course NHL isn't available through Origin anyway but for EA they'd be cannibalizing their own platform by releasing a title essentially "for free" on Xbox through PC. Even though by doing so that title would be available to more people and cross platform between PC and console. Of course EA's own platform doesn't have all major EA titles either, so said title probably isn't available on PC anyway. And of course, let's not even get started of the marketing implications with Origin access and Xbox Game Pass. So of course if that all doesn't make much sense you'd be rightly confused lmao. 😞
How easy is it for developers to incorporate Play Anywhere/cross-play?
Ralph Fulton, creative director, Playground Games: It’s actually very easy. UWP is a great help with this. Because we’re using a single service – Xbox Live – and a single API, the code is almost identical between Xbox and Windows 10 versions. This makes it much cleaner and easier to write the code in the first place, and it’s then easier to maintain.
Source