my ex will speak to me when he's without his wife

but when he's with her and we run into each other he pretty much ignores me..do u think it's cause she's jealous or what lol