I'd like to add that this appears to be a more widespread issue but not affecting every system and this spans accross multiple Avast! versions since near the end of the previous year.
I personally use Premium Security, but even virtual machines with Avast! Free show this issue with the Firewall, and yes I have it set to Ask prior to giving access, the local networks are set as 'trusted' and even with all the firewall rules set to 'green' it does not disappear.
This only occurs after the first boot of the OS, after a while it should be fine.
I've even tried reinstalling Edge and resetting it's profiles etc. but it won't solve the issue Avast! is causing to it.
I think it started to occur for me shortly after having the current system built with the 13th generation i9 13900K (system in signature).
My previous i7 3930K system running on Windows 10 aswell did not show this issue.
I know of another system with an 12th generation i5 12500 that does not display this problem with Avast! Free with Firewall set to Ask.
I have neither seen this problem occur on 4th generation i5 processors and 10th generation i5 10500 processors although those are set to 'smart' mode in firewall yet all are set to trust the network.
I've tested this several times with a clean install of Windows 10 22H2 in a virtual machine and it appears to be reproducible every time.
Something is not right with the way the Firewall is handling Edge.
I've even tried disabling Edge it's 'startup boost' and disabling running the apps in the background when the browser is closed.
But to no avail to solve the issue.
Hope you can figure it out because this is starting to become a bit annoying.