Chests that contain zero coins

I’ve noticed that some chests do not contain coins. Is this a bug or intended?