It does sound like they're potentially not getting enough calcium from the feed if you were feed a grower/finisher, and some ducks just don't eat oyster shell, so that could be what's going on here.
I know some people say that feeding males layer is bad for them but I feed all of poultry layer...
Yes, it can cause other problems like weakness. How do their eggs look? Is the shell quality pretty good? What do you normally feed them?
@Amiga had a duck with calcium deficiency, maybe she can tell you if this sounds like what your two may have or if it could be something else.
It could be a calcium deficiency, since this is only happening when they are laying. Do you offer them oyster shell so they can replenish their calcium if they need to?