No communication between two devices connected to WPA3

My situation is:

  • Interfaces (all belong to the same network, 192.168.1.XXX. AP1 and AP2 are on the same 5GHz radio hardware)
    • AP1 (WPA3)
    • AP2 (WPA2)
    • E1 (Ethernet)
  • Devices
    • P1 (Android) to AP1
    • P2 (Android) to AP2
    • L1 (Laptop) to AP1
    • D1 (Desktop) to E1

I ran a web app on L1. P1 could not connect to L1, but P2 and D1 could. I disconnected P1 from AP1 and connected it to AP2, and then P1 could connect to L1. I tested the reverse situation, too. I installed a simple web server on P1. L1 could not connect to P1, but D1 could. I disconnected P1 from AP1 and connected it to AP2, and then L1 could connect to P1. P1 and L1 are the only devices that I have that support WPA3, so I cannot test further.

Why can't P1 and L1 communicate with each other? Did I set something wrong? I looked up AP1's settings, and "Isolate Clients" was not checked.

Show configs, please.

Which configs? And if it is not a screen capture, how to get configs?

Please provide your settings. Please copy the output of the following commands and post it here using the "Preformatted text </> " button:
grafik
Remember to redact passwords, MAC addresses and any public IP addresses you may have:

cat /etc/config/network
cat /etc/config/wireless