If you buy wood that is freshly milled, it has a high moisture content from when it was a tree. then the normal process is to sticker and stack it to let dry. the dry time could vary depending on the environment. You can use fans or heat to help and a lot of wood is kiln dried. the rule of thumb is an inch a year so if they were 2" thick planks they would take two years but it can vary. the tree might be more wet if cut in the fall compared to summer. typically you will see the boards do some bending and twisting and then the next step is to straighten them before use by jointing and thickness planing, then they can be used. this dry process is normally a matter of months or years unless it is forced.
even when dried if you split those boards into strips then you'd see some warpage from the wood normalizing. wood has internal stresses and after you ripped a board into strips you may notice them moving bending curling and twisting until they find their happy place again. this happens because the wood has had some of the stresses removed where you cut them.. wood normally has some stresses within itself. so a woodworker would rip the lumber to his rough size , let this twisting happen and then joint and plane, otherwise his perfectly straight boards would normalize and go twisty even after it is processed into straight and supposedly usable lumber.
If you skip the drying step, or take it when the moisture hasn't dropped enough the wood will appear pretty normal but since it hasn't been allowed to and you can make things out of it, but then what happens is warpage occurs as the wood is still normalizing.
if you take a board and put it in the rain for a few days it gets wet on the outside and if you bring it in a few days it will be dry to the touch, but inside the wood, that is different and it takes time. firewood is best if it is a year or two old.
also if your dry wood is not stored in a place with suitable humidity it is going to change when it's environment changes.. so your windows could be made perfectly but then stored in a warehouse that had a leaky roof for example.. then they would suck up the humidity from around them.
If the tree is knotty or some species just twist more. Generally if it is a big tree like the trunk of a giant fir, then the wood has less stress, if the grain is figurative or if the tree had a lot of branches, then there is more uneven stress thus more warpage.
So this is about the paint and maybe that was too many words
but I wanted to make the point about the wood's moisture content , the surface moisture is different than the internal moisture content. the internal content might not change much over a few weeks but if the moisture is in there and you seal it with paint , it'll find its way out and look something like what you have.
a quick check is usually to cut a piece and then touch the endgrain to see if it feels damp, if it does feel damp then it isn't dry enough.. that might not matter on a fence so much as a piece of furniture.
I wouldn't think a window manufacturer would use wood that hadn't acclimatized properly because they would know about warpage and that is their enemy.. a warped window will be rejected.
it could still definitely be a possibility. So a question. Did you notice any warpage of them? because that might be another sign if they used lumber that was too green. If it wasn't that, then that maybe it just wasn't good paint or maybe it didn't soak in right or something. Was the painting done on a hot sunny day? maybe it dried before it had a chance to really penetrate?
another cause of poor adhesion is "mill glaze" when boards are put through the blades of jointers and thickness planers the blades sort of beat the oard and leave a sort of hardened smooth surface.. You can sand or even pressurewash or just use the wood and allow the hunidity and rain to remove the mill glaze but if you go straight to painting it wont' stick as well because the wood is too smooth to hold onto the paint well.. so if you build a set of stairs with fresh wood from home depot you are often best to not paint them for a while so that they dry out and "fuzz up a bit" then the paint sticks better.
Phil