@kenshirriff i understood thats why they are not connected to ground but rather to the clock lines

The previous capacitor is raised in potential with the one clock line going positve, so delivering its charge to the following capacitor is sitting at ground potential