Yeah looks like your rocks has some hiding spots but not a lot. The 2 fish you tried are also have lower survival rates in your tank - the YWG needs a lot of caves on the bottom and can be very skittish to bullies. the 6line is a free swimmer that also needs a lot of caves, in a 20G although some people had success, these 2 fish really would do a lot better in a bigger tank, esp if you have two clowns roaming the tank. there's just not enough room. These probably added stress to the new additions and weakened them causing their demise.
In a 20g you have room for 1 more fish at most since the clowns are naughty. Maybe try a smaller gobie - neon, or orange dot. Or a less "free swimmer" fish like a basslet/royal gramma that doesn't require a lot of free swimming space and will just claim its little corner of the tank and can defend/stand up against the clowns.
Doesn't hurt to try the fish net too when you do decide to add more.