I believe it a combination of things, temp and speed. But the ecm at the end of the day. There is a plastic motor mounted on the left radiator support, that opens and closes the louvers, sorry, shutters.
If'n you have something like the launch, it has the ability to command them open and closed...