It might have been a system update; those seem to ignore the wifi only download rules. pretty much any MS software will do this; camera updates, firmware, OS updates, things like the maps software, etc...
There is a 'Restrict background data' option in the Network & wireless -> data usage...