Amount of bevel before or after boolean modifier
This is because of Clamp Overlap. It prevents edges from sliding on top of each other and in bevel modifier it can be found under Geometry.
When you use boolean to cut away the cylinder it adds a lot more geometry to your cube and edges can't slide as far without intersecting. You can see this happening if you disable Clamp Overlap.