Looks like your router has the function "Wireless Isolation" (often called "AP Isolation") enabled.
This prevents clients connected to the WiFi network to communicate with each other (and really, to any other hosts in the network, they can just access the public Internet via the router), even if they're on the same network!
Looks like, on your router, the option is under "Wireless Basics":