You have to smash them with the crush/alternate cursor ability and they will shine in a certain order, but not all puzzles seems to follow this logic, only some... DK what am not seeing.
Edit: I tried every combination possible in some of them and no luck. Is it bugged out or am I dumb?