Indeed, It was for testing the damsel's devotion that the king of the celestials acted in that way for obstructing the boiling of the jujubes.
तस्या जिज्ञासनार्थं स भगवान् पाकशासनः॥ बरदाणामपचनं चकार विबुधाधिपः।