inter vlan communication

Hello Community,

 

i m using a xg firewall and i have created a 2 vlan by creating the sub interface

from the n/w 192.168.10.2 we can ping the gateway of vlan 20 but not able to ping the othere ip  and vice versa.