They aren't a real military with bases and barracks to be bombed. That doesn't mean they are using their neighbors as human shields. Israel doesn't really know where they are. They are bombing civilians indiscriminately, as has been their style for decades.
Israel knows where Hamas is at -- the terrorists are hiding behind Palestinian civilians.